const {
	Controller
} = require('uni-cloud-router');
const {
	success,
	exception,
	error,
	typeOf,
} = require("lg-utils");
module.exports = class FundController extends Controller {
	/**
	 * @description : 更新k线数据
	 * @param {type}  
	 * @type GET
	 */
	async uplateLine() {
		try {
			const {
				service,
				data
			} = this.ctx;
			return await service.fund.uplateLine();

		} catch (e) {
			return exception(e, this);
		}

	}

}
